package com.cf.auth.model.service;

import com.cf.auth.model.Auth;
import com.cf.auth.model.AuthItem;
import com.cf.auth.model.dao.AuthDao;
import com.cf.crud.service.AbsBaseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * boot-awm-AuthService
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/11 上午 11:10
 */
@Slf4j
public class AuthService extends AbsBaseService<Auth, AuthDao> {

    @Override
    public Class getTargetClass() {
        return Auth.class;
    }

    /**
     * 获取对应项目配置的授权信息
     *
     * @param authId
     * @return
     */
    public AuthItem getAuth(String authId) {
        log.info("获取授权信息");
        return null;
    }
}
